package com.simple.system.service;
import com.simple.system.util.ExcelUtils;
import org.springframework.stereotype.Service;

import java.io.ByteArrayInputStream;
import java.util.List;

@Service
public class ExcelService {
    public ByteArrayInputStream exportToExcel(List<Object> dataList) {
        return ExcelUtils.exportToExcel(dataList);
    }
}
